package gameEngine.agents.observationSystem;

import gameEngine.agents.observationSystem.EnumOfObservation.Observation_Type;

import org.apache.log4j.Logger;

/**
 * @author vladimir && alons
 *	Factory of observation - create and return Observations
 */
public class ObservationFactory {

	static Logger log = Logger.getLogger(gameEngine.agents.Logger.Massages.MassageFactory.class);
	
	public static Observation create(Observation_Type type, int numOfAgents)
	{
		switch(type){
		case SIMPLE_OBSERVATION:
			log.debug("Simple Observation created");
			return new SimpleObservation(numOfAgents);
		default:
			log.debug("Default: Simple Observation created");
			return new SimpleObservation(numOfAgents);
		}
	}
}
